﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Agriculture.Domain
{
    /// <summary>
    /// 挂号订单实体
    /// </summary>
    public class RegistrationOrderModel : OrderModel
    {
        /// <summary>
        /// 挂号单号
        /// </summary>
        public string RegistrationNo { get; set; }

        /// <summary>
        /// 就诊人姓名
        /// </summary>
        public string PatientName { get; set; }
        /// <summary>
        /// 就诊人手机号
        /// </summary>
        public string PatientPhone { get; set; }

        /// <summary>
        /// 就诊人性别
        /// </summary>
        public string PatientGender { get; set; }

        /// <summary>
        /// 就诊人年龄
        /// </summary>
        public int PatientAge { get; set; }

        /// <summary>
        /// 就诊时间
        /// </summary>
        public DateTime? AppointmentTime { get; set; }

        /// <summary>
        /// 就诊医院
        /// </summary>
        public string Hospital { get; set; }

        /// <summary>
        /// 科室
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 医生姓名
        /// </summary>
        public string DoctorName { get; set; }

        /// <summary>
        /// 医生职称
        /// </summary>
        public string DoctorTitle { get; set; }

        /// <summary>
        /// 医事服务费
        /// </summary>
        public decimal ServiceFee { get; set; }
        
        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime SubmitTime { get; set; }
        
        /// <summary>
        /// 用户对象
        /// </summary>
        public virtual UserModel User { get; set; }
    }
}
